<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%
    String operate = Util.null2String( request.getParameter( "operate" ) );//操作
    String requestid = Util.null2String( request.getParameter( "requestid" ) );//操作
    JSONObject jsonData = new JSONObject();
    String sql = "update formtable_main_677 set btnType=? where requestid =?";
    bb.writeLog(sql);
    boolean flag = rs.executeUpdate( sql,operate,requestid);
    if (flag) {
        jsonData.put( "flag", true );
    }else {
        jsonData.put( "flag", false );
    }
    out.print( jsonData.toJSONString() );
    bb.writeLog( "getBtnType_Ajax=" + jsonData.toJSONString() );
%>


